]> dgit.raspbian.org Git - gnome-shell.git/commit
mpris: Do not send player-removed for a player that has never been added
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 16 Apr 2026 16:38:22 +0000 (18:38 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 16 Apr 2026 17:54:49 +0000 (19:54 +0200)
commite5ecef6f879fe3e5cd039f209cb26a4bd263d443
tree687a03d18cd504b7c027c3c5fb7e8a94429af0ad
parentf4965964d34314d8c4d490c8f95a3f50710660be
mpris: Do not send player-removed for a player that has never been added

We only emit player-added for players that can play, but we remove them
all, despite this state.

This causes a non-fatal warning during the removal of a non-existent
notification (that is in fact an undefined message)

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/8284
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4183>
js/ui/mpris.js